//
// Created by denglibin on 19-5-7.
//
#include "input.h"
void processInput(GLFWwindow *window){
    if(glfwGetKey(window, GLFW_KEY_ESCAPE) == GLFW_PRESS) //esc键 关闭窗口
        glfwSetWindowShouldClose(window, GL_TRUE);
}